<?php
header("Access-Control-Allow-Origin:*");
header('Access-Control-Allow-Headers:x-requested-with,content-type');



$rows_post = $GLOBALS['HTTP_RAW_POST_DATA'];


$post_arr = json_decode($rows_post, true);

echo $rows_post;

$password = $post_arr['password'];

echo $password;

$command = "cd ../../\n";
//$command .= "git stash\n";
$command .= "git pull\n";
//$command .= "git stash pop\n";

system($command);

if($password == 'sdftrre'){

    echo '密码正确';
}

echo $rows_post;